import tkinter as tk
x = int(input())
y = int(input())
n = int(input())

coords = [0,0, 10,0, 10,10, 20,10, 20,20, 0,20,]
window = tk.Tk()
window.geometry("500x500")
window.title("my app")
canvas =tk.Canvas(window,width=500, height=500)
canvas.pack()
canvas.create_polygon([
coords[0]*n+x, coords[1]*n + x,
coords[2]*n+x, coords[3]*n + x,
coords[4]*n+x, coords[5]*n + x,
coords[6]*n+x, coords[7]*n + x,
coords[8]*n+x, coords[9]*n + x,
coords[10]*n+x, coords[11]*n + x,])

window.mainloop()
